$INCLUDE: 'C:\FG\FASTGRAF.FI'

      PROGRAM MAIN

      INTEGER OLD_MODE
      INTEGER FG_GETMODE

      CALL FG_INITPM
      OLD_MODE = FG_GETMODE()
      CALL FG_SETMODE(3)
      CALL FG_CURSOR(0)

      CALL FG_SETATTR(14,0,0)
      CALL FG_TEXT('yellow',6)

      CALL FG_SETATTR(10,0,0)
      CALL FG_TEXT(' green',6)

      CALL FG_SETATTR(12,0,1)
      CALL FG_TEXT(' blinking',9)

      CALL FG_SETATTR(12,7,0)
      CALL FG_LOCATE(24,0)
      CALL FG_TEXT(' Press any key. ',16)
      CALL FG_WAITKEY

      CALL FG_SETMODE(OLD_MODE)
      CALL FG_RESET

      STOP ' '
      END
